We've added Steven Christou as a developer on the project! He has moved the source code to Github! Also Steven is migrating the code to use maven and is working on releasing 2.0 of cobertura soon! Welcome Steven!
"Cobertura is my new coverage tool of choice, and I hope to give something back. I hope you'll get involved, too."
–Mike Clark, author of Pragmatic Project Automation
Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.
We've added Steven Christou as a developer on the project! He has moved the source code to Github! Also Steven is migrating the code to use maven and is working on releasing 2.0 of cobertura soon! Welcome Steven!
We've added Piotr Tabor as a developer on the project! He contributed the performance improvements that went into 1.9.4. Welcome Piotr!
We've released Cobertura 1.9.4.1 to fix two problems with 1.9.4:
We've released Cobertura 1.9.4. See below for the full list of changes.
We've released Cobertura 1.9.3. See below for the full list of changes.
We've released Cobertura 1.9.2. Cobertura is now thread safe! The recent problem introduced with Java 6 update 14 has also been fixed. See below for the full list of changes.
We've released Cobertura 1.9.1! This is mostly to fix the Complexity calculation for source with Java 5 language features such as Annotations. Existing users of Cobertura need to make sure you use ASM 3.0 jars for this release. See below for the full list of changes.
New Spanish tutorial available thanks to Alejandro Pérez García!
Tutorial en Español (gracias a Alejandro Pérez
García). Puedes acceder a la versión más actualizad en este
enlace."
We've released Cobertura 1.9! There is much improved branch/conditional coverage and a new maxmemory attribute that can be used if instrumentation needs more memory. See below for the full list of changes.
We've added two new developers, Jiří Mareš and Joakim Erdfelt! Jiří has been working on improving the way we handle branch coverage, and Joakim is the author of the Cobertura plugin for Maven 2. Rejoice.
The first set of binary packages we uploaded were built with Java 1.5. Sorry about that. We've uploaded new packages that were compiled with 1.3.1.
We've added John Lewis as a developer on the project! The more the merrier. He contributed some of the bigger changes in Cobertura 1.8, and he's been pretty active on the cobertura-devel mailing list.
After 4 long months we've released Cobertura 1.8! Lots of good changes in this release: show the total number of lines and branches in the HTML report, support for Groovy, allow multiple JVMs to cleanly write to the same data file, and more robust instrumentation of archives (and even archives inside of archives!) See below for the full list of changes.
Benoit Xhenseval and the QALab folks have added support for Cobertura to their product. From their website, "[t]his project collects and consolidate data from several QA tools, like pmd, checkstyle, FindBugs, Cobertura and Simian and keeps track of them overtime. This allows developers, architects and project managers alike to be presented with a trend of the QA statistics of their project."
For anyone interested in seeing coverage statistics-over-time, check out their report.
We've just released Cobertura 1.7. We fixed the problems with the merge task, as well as a few other bugs. The full list of changes is below.
As promised, we've just released Cobertura 1.6 which includes support for generating reports using different source trees and instrumenting many directories of classes with one call to cobertura-instrument. See our ant task reference for examples.
We've added a new developer, Grzegorz Lukasik, to the project!
We've decided to release Cobertura 1.5. This release includes a lot of good changes. However, it does not yet support instrumenting multiple directories for classes or generating a report using multiple source directories. Cobertura 1.6 will include both of these enhancements, and will hopefully be released in about two weeks.
The changes in 1.5 are:
Some bugs sprung up after we released the last version, so we decided to release 1.4 (after fixing the bugs, of course).
The changes in 1.4 are:
A little over two months later we've released version 1.3. There were some big changes to the code that will hopefully make future development a bit smoother. And of course, there's that "real life" thing that always delays things.
We've added some ant task and command line examples to the web page. Please let us know if you see any mistakes, or if you find something that needs clarification.
The changes in 1.3 are:
We decided to release Cobertura 1.2 because of a bug in the XML reports in 1.1. If you use the XML reports you'll definitely want to upgrade, otherwise you're safe with 1.1. Also, Cobertura 1.2 (and 1.1, and maybe 1.0) requires a 1.4 or newer JVM. Is this a problem for anyone? If so, please send an email to our mailing list (cobertura-devel@lists.sourceforge.net) and let us know what version of the JVM you would like to use.
Here are the changes in 1.2:
We just added our first new developer, Jeremy Thomerson, to the team! Look forward to seeing good things from him in the future.
Just released 1.1! It contains a few bug fixes, some feature improvements, and performance enhancements. Here's the list of changes:
Alright, everything is in CVS now and I've released 1.0. Please try it out and file bug reports for anything that doesn't work for you. I should point out that the original jcoverage has an Eclipse plugin. I don't use the plugin, and haven't tested it in Cobertura, so I'm not providing a package for it. However, I left the build steps for the Eclipse plugin in place, so if you want to use it you should be able to download a source distributable and compile yourself. The major changes between Cobertura 1.0 and jcoverage 1.0.5 are below.
I uploaded the web page and did some initial project setup. I'll give my code a good once-over then import it to CVS soon.
The Cobertura project was created on sourceforge.